package com.kaiwu.tc.persistence.dao;

import com.kaiwu.tc.persistence.pojo.User;

import java.util.List;

/**
 * @author cuihaichuan
 * @date 2021/1/23
 **/
public interface IUserDao {
    List<User> findAll();
    User findOne(User user);
    int insert(User user);
    int deleteById(Integer id);
    int deleteAll();
    int update(User id);

}
